const routers: Array<RouterItem> = [
    {
        type: 'page',
        path: '/index',
        src: '/index/index',
        title: '首页',
        name: 'index',
        footer: { hidden: true },
        leftSide: { hidden: true },
        bread: { hidden: true },
        icon: 'HomeOutlined',
    },
    {
        type: 'menu',
        path: '/system',
        redirect: '/system/root',
        src: 'redirect',
        title: '系统管理',
        name: 'system',
        icon: 'CodeSandboxOutlined',
        children: [
            {
                type: 'page',
                title: '权限管理',
                name: 'sysRoot',
                path: '/system/root',
                src: '/system/root/index',
                icon: 'KeyOutlined',
            },
        ],
    },
    {
        type: 'page',
        path: '/home',
        title: '主页-home',
        src: '/home/index',
        icon: 'HomeOutlined',
    },
    {
        type: 'page',
        path: '/blog',
        title: '日志',
        src: '/blog/index',
        icon: 'ProfileOutlined',
    },
    {
        type: 'page',
        path: '/resume',
        title: '摘要',
        src: '/resume/index',
        icon: 'OneToOneOutlined',
    },
    {
        type: 'page',
        path: '/user',
        title: '用户',
        src: '/user/index',
        icon: 'UserOutlined',
    },
    {
        type: 'page',
        path: '/login',
        title: '登录',
        src: '/login/index',
        icon: 'UserOutlined',
        header: { hidden: true },
        footer: { hidden: true },
        leftSide: { hidden: true },
        bread: { hidden: true },
    },
    {
        type: 'page',
        path: '/notFound',
        title: '未找到',
        src: '/notFound/index',
        header: { hidden: false },
        footer: { hidden: true },
        leftSide: { hidden: true },
        bread: { hidden: true },
    },
];
export default routers;
